package com.dh.project.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.dh.project.model.EngineerPhone;
import com.dh.project.model.PageModel;

import java.util.List;
import java.util.Map;

public interface EngineerPhoneMapper extends AutoMapper<EngineerPhone> {
    int deleteByPrimaryKey(Integer engineer_id);

    int insert(EngineerPhone record);

    int insertSelective(EngineerPhone record);

    EngineerPhone selectByPrimaryKey(Integer engineer_id);

    int updateByPrimaryKeySelective(EngineerPhone record);

    int updateByPrimaryKey(EngineerPhone record);

    List<EngineerPhone> selectEngineerPhoneListByMap(Map map);

    PageModel selectEngineerPhoneListByMapCount(Map map);
}